home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / BUSINESS / CASEMAN1.LZH / INSTALL4.BAT < prev    next >
DOS Batch File  |  1992-11-07  |  3KB  |  116 lines

  1. Echo off
  2. IF NOT EXIST INPUT.COM GOTO WRONGDR
  3. IF %1==F GOTO FLOPINS
  4. IF %1==H GOTO HARDINS1
  5. CLS
  6. GO4
  7. :FLOPINS
  8. ECHO OFF
  9. CLS
  10. IF %2==1 GOTO FLOPINS1
  11. IF %2==2 GOTO FLOPINS2
  12. CLS
  13. ECHO  This floppy installation requires that you enter either a '1' or a '2',
  14. ECHO  following your 'GO F' instruction.
  15. GOTO END
  16. :FLOPINS2
  17. CLS   
  18. ECHO  Enter disk 2, SALES-B, into drive A now.
  19. ECHO  [it should still be in Drive A]
  20. PAUSE
  21. %3
  22. B:PKUNZIP -X B:LEGAL-C50.ZIP PROGRAM.OVL
  23. B:PKUNZIP -X B:LEGAL-C50.ZIP *.FRM
  24. CLS
  25. ECHO  Enter disk 3, PROGRAM.DOC, into drive A now.
  26. PAUSE 
  27. %3     
  28. B:PKUNZIP -X B:LEGAL-D50.ZIP PROGRAM.DOC
  29. GOTO FLOPDOC
  30. :FLOPDOC
  31. CLS 
  32. ECHO  Finished !
  33. ECHO  Disk  3,  the documentation and tutorial,  is not used while  the 
  34. ECHO  program  is  running.   It  contains a 60 page tutorial
  35. ECHO  and  can  be printed  out will this command:          
  36. ECHO                           COPY PROGRAM.DOC LPT1:  
  37. echo  
  38. ECHO  To start the program,:
  39. ECHO  Enter SALES-A, disk one, into drive A.
  40. ECHO  Enter SALES-B, disk two, into drive B.
  41. echo  
  42. ECHO  Then restart the computer and execute GO      {executed from B}
  43. GOTO END
  44. :FLOPINS1
  45. ECHO  Beginning with version 3.0 of this program, the executable files have
  46. ECHO  become so large that the low density option of 360KB is no longer supported.
  47. GOTO END
  48. :HARDINS1
  49. CLS
  50. echo  
  51. %2:
  52. CD \
  53. CD LAWYER.ACS
  54. COPY %3LEGAL-E50.EXE >TMP
  55. LEGAL-E50
  56. DEL LEGAL-E50.EXE
  57. COPY %3YESNO.COM >TMP
  58. COPY %3ECOH.COM >TMP
  59. CLS
  60. echo  
  61. ECOH ══════════    Tutorial for program    ══════════
  62. echo  
  63. ECHO  PROGRAM.DOC is the tutorial.
  64. ECHO  Would you like to print it out now?
  65. echo  
  66. :YESNO
  67. YESNO
  68. CLS
  69. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YESNEXT
  70. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YES1
  71. GOTO YESNO
  72. :YESNEXT
  73. CLS
  74. ECHO Please make sure your printer is now turned on and set
  75. ECHO to the 'top of form'. Then press any key to continue.
  76. echo  
  77. PAUSE
  78. CLS
  79. echo  
  80. echo  
  81. ECOH ══════════ Now printing the tutorial ══════════
  82. COPY PROGRAM.DOC LPT1: >TMP
  83. CLS
  84. GOTO YES1
  85. :YES1
  86. CLS
  87. echo  
  88. echo  
  89. echo  
  90. ECOH ══════════ Free memory available for program ══════════
  91. echo  
  92. ECHO The program must have 500 kb free memory. Observe the next 
  93. ECHO 'bytes are free.' message below.  If below 500k, then
  94. ECHO enter a 'CONTROL-C' now to stop and remove any memory resident
  95. ECHO programs.  Otherwise enter any other key to continue.
  96. echo  
  97. echo  
  98. MEMORY
  99. echo  
  100. echo  
  101. PAUSE
  102. CLS
  103. GO
  104. GOTO END
  105. :WRONGDR
  106. CLS
  107. echo  
  108. echo  
  109. ECHO Though nothing could be simpler than this install procedure, it does   
  110. echo require that you enter the drive name, such as 'A:' or 'B:', followed
  111. echo by the 'Enter' key.  After that, please enter 'GO' again.
  112. echo  
  113. GOTO END
  114. :END
  115. echo  
  116.